package router

import (
	"github.com/gin-gonic/gin"
	"zg4week2/api"
)

func Router(r *gin.Engine) {
	// 简单的路由组: v1
	v1 := r.Group("/v1")
	{
		v1.GET("/health", api.Health)
		v1.POST("/VideoAdd", api.VideoAdd)
		v1.POST("/Video", api.Video)
	}

}
